<script type="text/javascript">
function wizard_submit(name) {
var r=null;
r = $$('input[name='+name+']').filter(function(item) { return item.checked }).get('value');
window.location.href="<?php echo System::$url . "?p=install&type=" ?>" + r;
}


</script>
<h2><img src="./components/com_install/icon.png" alt="Install" width="80" height="80" /> <?php echo Lang::getBackGlobal('install_choose_type'); ?></h2>
<form action="" method="post">
<table>
<tr>
<td><input type="radio" name="type" value="mod" /></td>
<td><strong><?php echo Lang::getBackGlobal('install_module'); ?> - </strong> <?php echo Lang::getBackGlobal('install_module_desc'); ?></td>
</tr>

<tr>
<td><input type="radio" name="type" value="com" /></td>
<td><strong><?php echo Lang::getBackGlobal('install_component'); ?> - </strong> <?php echo Lang::getBackGlobal('install_component_desc'); ?></td>
</tr>

<tr>
<td><input type="radio" name="type" value="tlp" /></td>
<td><strong><?php echo Lang::getBackGlobal('install_template'); ?> - </strong> <?php echo Lang::getBackGlobal('install_template_desc'); ?></td>
</tr>

<tr><td><input type="button" value="<?php echo Lang::getBackGlobal('submit'); ?>" onclick="javascript:wizard_submit('type')" /></td></tr>
</table>
</form>

<br />

<h2><img src="./components/com_install/delete.png" alt="Uninstall" width="80" height="80" /> <?php echo Lang::getBackGlobal('install_choose_type2'); ?></h2>
<form action="" method="post">
<table>
<tr>
<td><input type="radio" name="type2" value="del_mod" /></td>
<td><strong><?php echo Lang::getBackGlobal('install_module'); ?></strong></td>
</tr>

<tr>
<td><input type="radio" name="type2" value="del_com" /></td>
<td><strong><?php echo Lang::getBackGlobal('install_component'); ?></strong></td>
</tr>

<tr>
<td><input type="radio" name="type2" value="del_tlp" /></td>
<td><strong><?php echo Lang::getBackGlobal('install_template'); ?></strong></td>
</tr>

<tr><td><input type="button" value="<?php echo Lang::getBackGlobal('submit'); ?>" onclick="javascript:wizard_submit('type2')" /></td></tr>
</table>
</form>